package cn.bin758.h5game.module.game.controller.admin.users.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.bin758.h5game.framework.excel.core.annotations.DictFormat;
import cn.bin758.h5game.framework.excel.core.convert.DictConvert;


/**
 * 玩家信息 Excel VO
 *
 * @author bin758
 */
@Data
public class GameUsersExcelVO {

    @ExcelProperty("用户ID")
    private Long id;

    @ExcelProperty("用户账号")
    private String username;

    @ExcelProperty("用户昵称")
    private String nickname;

    @ExcelProperty("备注")
    private String remark;

    @ExcelProperty("用户额外信息")
    private String value;

    @ExcelProperty("用户邮箱")
    private String email;

    @ExcelProperty("手机号码")
    private String mobile;

    @ExcelProperty(value = "用户性别", converter = DictConvert.class)
    @DictFormat("system_user_sex") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer sex;

    @ExcelProperty("头像")
    private String avatar;

    @ExcelProperty(value = "帐号状态", converter = DictConvert.class)
    @DictFormat("common_status") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer status;

}
